package test;

import org.springframework.stereotype.Component;

@Component("Truck")
public class Truck implements vehicle{
    public void run(){
        System.out.println("Truck is running");
    }
}
